package com.ssy.lingxi.marketing.model.vo.coupon.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 领取优惠券请求类
 * @author yzc
 * @version 2.0.0
 * @date 2021/9/7
 */
@Data
public class ReceiveCouponRequest implements Serializable {

    private static final long serialVersionUID = -6446541159696815662L;

    /**
     * 商城id
     */
    @NotNull(message = "商城id不能为空")
    private Long shopId;

    /**
     * 所属类型 1-平台 2-商家
     */
    @NotNull(message = "所属类型不能为空")
    private Integer belongType;

    /**
     * 优惠券id
     */
    @NotNull(message = "优惠券id不能为空")
    private Long couponId;

}
